<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');


class Re_page extends CI_Controller {

	function __construct()
	{
		parent::__construct();
	}

	public function index()
	{
		$this->load->model('re_messagedata_m');
		$rs=$this->re_messagedata_m->re_messagedata_SelectByID($_GET['messageid'],0,10);
		foreach ($rs as $row){
			$data[]=$row;
		}
		//var_dump($data);
		if($rs !=null){
			$data['data']=$data;
			$this->load->view('re_page',$data);
		}
	}

}
?>